package com.chen.auth.domain.service;

import com.chen.auth.domain.entity.AuthRoleBO;
import com.chen.auth.infra.basic.entity.AuthRole;

/**
 * (AuthRole)表服务接口
 *
 * @author makejava
 * @since 2024-06-20 15:39:24
 */
public interface AuthRoleDomainService {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    AuthRole queryById(Long id);

    /**
     * 修改角色信息
     */
    Boolean update(AuthRoleBO authRoleBO);


    /**
     * 添加角色
     */
    Boolean add(AuthRoleBO authRoleBO);

    /**
     * 删除角色
     */
    Boolean delete(AuthRoleBO authRoleBO);
}
